package c.h.a.k0.a.j0;

import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import c.h.a.m0.h;
import c.h.a.y.a;
import com.liuzh.deviceinfo.tests.TestesActivity;

/* compiled from: ScreenTestFragment */
public class r extends a {
    public View W;

    public void D(Context context) {
        super.D(context);
        ((TestesActivity) context).setTitle(2131689801);
    }

    public void E(Bundle bundle) {
        super.E(bundle);
        c.h.a.v.a.b.c("screen_test_show", null);
    }

    public View G(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
        if (this.W == null) {
            View inflate = layoutInflater.inflate(2131492963, viewGroup, false);
            this.W = inflate;
            inflate.findViewById(2131296431).setOnClickListener(new i(this));
            this.W.findViewById(2131296427).setOnClickListener(new h(this));
            inflate = this.W.findViewById(2131296434);
            View findViewById = this.W.findViewById(2131296430);
            if (h.p()) {
                inflate.setVisibility(8);
                findViewById.setVisibility(8);
            } else {
                inflate.setOnClickListener(new g(this));
                findViewById.setOnClickListener(new j(this));
            }
            this.W.findViewById(2131296432).setOnClickListener(new l(this));
            this.W.findViewById(2131296426).setOnClickListener(new k(this));
        }
        return this.W;
    }
}
